home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 015a / patha.zip / PATHA.DOC < prev   
Text File  |  1993-03-30  |  12KB  |  202 lines

  1.         PATHA   A better PATH utility for DOS computers.
  2.                     Created by Henry G. Boucher.
  3.  
  4.      Patha is designed to be used in place of the DOS PATH command. It will
  5.  make working with multiple directories much easier than ever before. Patha
  6.  allows the user to modify the existing path without retyping the whole
  7.  path or using batch files. The user can edit the current path, add one
  8.  or more directories to the path, delete one or more directories from the
  9.  path, or replace the whole path with one in a specified file. Patha will
  10.  allow you to have paths up to 1024 characters. Patha is NOT case sensitive.
  11.  Patha /? will provide help on using the command.
  12.  
  13.      FORMAT: Patha [text or /c] [/b /o /d /f /e /n /L]
  14.  
  15.      DEFINITIONS:
  16.      [text]    name of the directory (or multiple directories each
  17.                separated by ;).
  18.        /c      use the Current working directory.
  19.        /b      add to the Beginning of the path rather than the end.
  20.        /o      Override checking of directories existence.
  21.        /d      Delete directories from the current path.
  22.        /f      get path from File [text] or \autoexec.bat.
  23.        /e      allow for Editing of the path before changing.
  24.        /n      create a New path with directories in [text].
  25.        /L      allow maximum path length (up to 1024 characters).
  26.  
  27.      Patha [text]    will add directory [text] (if it exists) to the end
  28.                of the path. No option is needed because adding is
  29.                the default. Dos shorthand is accepted (i.e. \,..,.).
  30.  
  31.      Patha /c /b  will add the current working directory to the beginning
  32.                of the current path.
  33.  
  34.      PATHA [text] /o will add [text] to the end of the current path without
  35.                checking to see if [text] is really a directory. Useful if
  36.                 [text] is a floppy based directory and you do not want to
  37.                 spend time checking its existence.
  38.  
  39.      Patha [text] /d will remove the directory containing [text] from the
  40.                current path. [text] must be unique to one directory
  41.                in the path, but can be of any length.
  42.  
  43.      Patha [text] /f will open file [text], search for first occurrence of
  44.                a path command, and set the current path to that
  45.                value. If no [text] file is entered,  patha will try
  46.                to use autoexec.bat from the root directory. This
  47.                option works by searching the file for the first
  48.                occurrence of "PATH " or "PATH=" at the beginning of
  49.                any line. Lines containing "set Path" will be ignored.
  50.                Used mainly to quickly reset the path to its initial value.
  51.  
  52.      Patha /e  will show the current path and allow editing. Editing
  53.                allows use of ins, del, home, end, tabs, left and
  54.                right arrow keys, and Ctrl end (del to end).
  55.                Esc or Ctrl C will escape WITHOUT making any changes.
  56.                The system will not allow more data once you reach the
  57.                limit of your current environment space or 128 characters,
  58.                whichever is less. If you reach this point you will hear
  59.                a beep and no more characters will be accepted (combine with
  60.                the /L option to allow up to 1024 characters - see below).
  61.                Upon receiving an entry, the path will be changed without
  62.                verifying what you typed (i.e. no further checking of
  63.                each directories existence will be done).
  64.                The edit option may be used with other options to allow
  65.                you to confirm the new path before changing the old one.
  66.  
  67.  
  68.      Patha /c /n  will create a new path with only the current working
  69.                directory in the path.
  70.  
  71.  
  72.      Patha /L /E will show the current path and allow editing as above.
  73.                However, the maximum length of the path will be the amount
  74.                of environmental memory available (up to 1024 characters).
  75.                If the current path already exceeds 128 characters (the default
  76.                maximum path length in DOS), the /L option is not needed.
  77.  
  78.  
  79.  EXAMPLES:
  80.  
  81.      Patha c:\dos /b   add directory "c:\dos" to the beginning of the path.
  82.      Patha dos         add directory "c:\dos" to the end of the path if
  83.                       you are in directory c:\ and dos is a sub directory.
  84.      Patha c:\misc /L  add c:\misc to the path even if the resulting path
  85.                        would by greather than 128 characters.
  86.      Patha \dos        add c:\dos to the path if the current volume is c.
  87.      Patha c:\;c:\dos  add both "c:\" and "c:\dos" to the path.
  88.      Patha A:\misc /o  add "a:\misc" to path without checking if it exists.
  89.      Patha c:\dos /d   delete directory "c:\dos" from the path.
  90.      Patha /c /e       add the current working directory to the path then
  91.                       allow for editing before invoking the change.
  92.      Patha %path1% /n  set the path to that in environment variable path1.
  93.      PATHA /f          load the path found in the file autoexec.bat in the
  94.                       root directory.
  95.      Patha A:\autoexec.bat /f  change the path to that in the file
  96.                       a:\autoexec.bat.
  97.  
  98.      IF YOUR PATH WERE "PATH=C:\;c:\windows;C:\Dos;"
  99.      "Patha WIN /d" would result in "PATH=C:\;C:\Dos;"
  100.      "PATHA dos;win /d" would result in "PATH=C:\;"
  101.      "PATHA c:\wp" would result in "PATH=C:\;c:\windows;C:\Dos;c:\wp;"
  102.  
  103.  Versus Ver 1.1: Addition of the /n option to allow creating a totally new
  104.            path. Support of tabs, back-tabs and Ctrl end in the editing
  105.            mode ("Ctrl end" deletes to the end of the path).
  106.            Support of %envvar% (environmental variables created with
  107.            the DOS SET command) as in dos batch files.
  108.            Addition of the /L option to allow paths to exceed the DOS default
  109.            length of 128. Path can now be up to 1024 characters if there
  110.            is enough memory available in the environment. The following
  111.            items MUST BE NOTED when using the /L option:
  112.                 1). The Dos PATH command will not show the path properly
  113.                     if the path is longer than 128 characters. Use PATHA
  114.                     to see the current path.
  115.                2.) If you create a path longer than 128 characters with
  116.                     Patha, DO NOT USE PATH or "SET PATH" to create a new
  117.                     path (including batch files). This is because the path
  118.                     command will not clear the memory past the 128 byte
  119.                     position. Therefore, if you have a path greater than 128
  120.                     characters and you "path=c:\" (or anything), the memory
  121.                     past the 128th character of the previous path will be
  122.                     LOST until you reboot.
  123.                 3). The Dos SET command will not show the path properly
  124.                     if the path is longer than 128 characters.
  125.                 4). An invalid path (i.e. directories which don't exist)
  126.                     will cause many programs to HANG YOUR SYSTEM. This
  127.                     is true with or without PATHA.
  128.                 5). Commands which are mistyped will cause dos to search
  129.                     ALL directories in the path. On systems with slow hard
  130.                     drives this delay will be noticeable.
  131.  
  132.  
  133. %ENVVAR%: Environment variables can be used both in batch files (with the
  134.         /f option) and from the command line. Variables can be SET in the
  135.         environment by using the DOS SET command. This allows a short name
  136.         to be used in place of a long string. Using environment variables
  137.         with patha is similar to their use in batch files. You must place
  138.         a % sign before and after the variable to indicate it is an
  139.         environmental variable. Environment variables may be used in many
  140.         ways. For example you could "SET Work=C:\work;C:\windows;" and
  141.         "SET Play=C:\games;c:\misc;" and "SET Tools=c:\;c:\bin;". Then
  142.         you could easily switch between paths by using "Patha %work% /n",
  143.         "Patha %play% /n", Or combine them with "Patha %tools%;%work% /n".
  144.  
  145.  INSTALLATION: Copy PATHA.COM to a directory normally in your path.
  146.                The DOS directory would be the best place.
  147.  
  148.  ENVIRONMENT: The default DOS environment size is only 160 bytes.
  149.            This is the area where PATH and other environment strings
  150.            are stored. If you are using the default size, you may
  151.            occasionally get an error that the environment is too small
  152.            for the path you are entering. You can increase the environment
  153.            size by using the command:
  154.                SHELL=C:\COMMAND.COM /E:xxxxx /P
  155.            in your config.sys file. Where xxxxx = number of bytes for the
  156.            environment (160-32768) in DOS versions 3.2 and above (versions
  157.            3.0 and 3.1 require the number of bytes/16, versions below 3.0
  158.            do not support the SHELL command). The /P option causes
  159.            autoexec.bat to be run. If COMMAND.COM is not in C:\, replace
  160.            C:\ in the above command with the directory it is in (i.e.
  161.            C:\DOS\COMMAND.COM). See your Dos manual.
  162.            To have up to 1024 characters in your path, you must have an
  163.            environment size of 1024 + amount you want for environment
  164.            variables. Note that this memory is from your base 640k memory
  165.            and reduces it accordingly. Most users will not need paths longer
  166.            than 512 bytes and other environment memory of 512, therefore 1024
  167.            is a good size to allocate (i.e. /E:1024 above).
  168.  
  169.  WINDOWS:  When you start a dos shell from windows or other graphics programs,
  170.            you begin with a copy of the root environment. Any changes you 
  171.            make to the environment (including the path) will only be temporary. 
  172.            When you "EXIT" the shell and return to windows, the environment 
  173.            will revert to what it was when windows was first activated. PATHA 
  174.            will only change the current environment.
  175.  
  176.  COMMENTS: Patha is a shareware utility. You may freely distribute it as you
  177.            wish, provided you include this documentation file with it. 
  178.            HGB Enterprises takes no responsibility (expressed or implied) 
  179.            for this utility and in No Event shall be liable for any loss or 
  180.            damage as a result of its use. Any problems or suggestions on 
  181.            improving the utility should be sent to the address below. 
  182.            Comments are also appreciated.
  183.  
  184.  REGISTRATION: In keeping with the shareware concept, individuals that
  185.             find this product useful are asked to become a registered
  186.             user. This can be done by only sending $5.00 to:
  187.  
  188.                     HGB Enterprises
  189.                     P. O. Box 150706
  190.                     FT. Worth, Texas 76108
  191.  
  192.             To receive this latest release direct from the developer, send
  193.             an additional $3.00 ($5.00 foreign) and specify 3.5 inch or
  194.             5.25 inch disk size. A user manual will also be included.
  195.             Registered users will receive notice of new releases.
  196.             Invoice.doc is included for your convenience.
  197.             Site licenses are available.
  198.             If you cannot afford 5.00, any donations would be appreciated.
  199.  
  200.                   Copyright 1993, HGB Enterprises.
  201.              All rights reserved. Version 2.2.    3/28/93
  202.